package com.ibiaoke.order.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Order implements Serializable {
    /**
     * 订单id
     */
    private Integer orderId;

    /**
     * 订单编号
     */
    private String orderCode;

    /**
     * 订单状态(0 待付款，1待发货，2待收货，3已完成，4已取消  )
     */
    private Integer orderStatus;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 订单金额
     */
    private BigDecimal orderPrice;

    /**
     * 订单原始金额
     */
    private BigDecimal orderOldPrice;

    /**
     * 运费
     */
    private BigDecimal expressPrice;

    /**
     * 优惠券id
     */
    private Integer couponReceiveId;

    /**
     * 优惠券金额
     */
    private BigDecimal couponPrice;

    /**
     * 支付时间
     */
    private Date payTime;

    /**
     * 支付方式(1微信支付，2支付宝支付，4预存款支付，5货到付款)
     */
    private Integer payType;

    /**
     * 配送地id
     */
    private Integer deliveryLocationId;

    /**
     * 配送类型（0快递 ，1自提）
     */
    private Integer deliveryType;

    /**
     * 详细配送地址/自提店铺
     */
    private String deliveryAddress;

    /**
     * 联系电话
     */
    private String contactMobile;

    /**
     * 联系人
     */
    private String contactPersion;

    /**
     * 经度
     */
    private Double longitude;

    /**
     * 纬度
     */
    private Double latitude;

    /**
     * 配送距离（单位米）
     */
    private Double distance;

    /**
     * 店铺id（0为平台订单）
     */
    private Integer shopId;

    /**
     * 订单来源（APP,WECHAT）
     */
    private String source;

    /**
     * 删除状态(0正常 1删除)
     */
    private Byte delStatus;

    /**
     * 订单类型(0单独购买，1拼团订单)
     */
    private Byte orderType;

    /**
     * 配送时间
     */
    private Date deliveryTime;

    /**
     * 订单留言
     */
    private String remarke;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 确认记录(0系统确认，1用户确认)
     */
    private Byte receivedRecord;

    /**
     * 修改记录时间
     */
    private Date recordTime;

    /**
     * 服务号
     */
    private Integer serviceNum;

    private static final long serialVersionUID = 1L;

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public BigDecimal getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(BigDecimal orderPrice) {
        this.orderPrice = orderPrice;
    }

    public BigDecimal getOrderOldPrice() {
        return orderOldPrice;
    }

    public void setOrderOldPrice(BigDecimal orderOldPrice) {
        this.orderOldPrice = orderOldPrice;
    }

    public BigDecimal getExpressPrice() {
        return expressPrice;
    }

    public void setExpressPrice(BigDecimal expressPrice) {
        this.expressPrice = expressPrice;
    }

    public Integer getCouponReceiveId() {
        return couponReceiveId;
    }

    public void setCouponReceiveId(Integer couponReceiveId) {
        this.couponReceiveId = couponReceiveId;
    }

    public BigDecimal getCouponPrice() {
        return couponPrice;
    }

    public void setCouponPrice(BigDecimal couponPrice) {
        this.couponPrice = couponPrice;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getDeliveryLocationId() {
        return deliveryLocationId;
    }

    public void setDeliveryLocationId(Integer deliveryLocationId) {
        this.deliveryLocationId = deliveryLocationId;
    }

    public Integer getDeliveryType() {
        return deliveryType;
    }

    public void setDeliveryType(Integer deliveryType) {
        this.deliveryType = deliveryType;
    }

    public String getDeliveryAddress() {
        return deliveryAddress;
    }

    public void setDeliveryAddress(String deliveryAddress) {
        this.deliveryAddress = deliveryAddress;
    }

    public String getContactMobile() {
        return contactMobile;
    }

    public void setContactMobile(String contactMobile) {
        this.contactMobile = contactMobile;
    }

    public String getContactPersion() {
        return contactPersion;
    }

    public void setContactPersion(String contactPersion) {
        this.contactPersion = contactPersion;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Byte getDelStatus() {
        return delStatus;
    }

    public void setDelStatus(Byte delStatus) {
        this.delStatus = delStatus;
    }

    public Byte getOrderType() {
        return orderType;
    }

    public void setOrderType(Byte orderType) {
        this.orderType = orderType;
    }

    public Date getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public String getRemarke() {
        return remarke;
    }

    public void setRemarke(String remarke) {
        this.remarke = remarke;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Byte getReceivedRecord() {
        return receivedRecord;
    }

    public void setReceivedRecord(Byte receivedRecord) {
        this.receivedRecord = receivedRecord;
    }

    public Date getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }

    public Integer getServiceNum() {
        return serviceNum;
    }

    public void setServiceNum(Integer serviceNum) {
        this.serviceNum = serviceNum;
    }
}